using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using System.IO;

/// <summary>
/// AKS 1.1 - HiSoftware Inc.
/// CA design: Robert B. Yonaitis
/// </summary>

namespace AKSAdapters
{
    public class AKS_Blog_EditComment_BodyLabel : System.Web.UI.Adapters.ControlAdapter
    {
        public AKS_Blog_EditComment_BodyLabel()
        {

        }

        protected override void Render(HtmlTextWriter output)
        {
            StringBuilder sb = new StringBuilder();
            HtmlTextWriter writer = new HtmlTextWriter(new StringWriter(sb));
            base.Render(writer);
            if (Page.Request.Url.ToString().Contains("/EditComment.aspx"))
            {
                sb.Replace("<nobr>Body", "<nobr><label for=\"ctl00_ctl26_g_665a412c_e6f4_4a7d_babe_8326d32bd064_ctl00_ctl04_ctl01_ctl00_ctl00_ctl04_ctl00_ctl00_TextField\">Body</label>");
            }
            output.Write(sb.ToString());
        }
    }
}



